package com.fire.eyes.validation;

import javax.validation.constraints.NotBlank;

/**
 * @author yangxiaotian
 * @version 1.0
 * @date 2019/1/17 13:33
 * @description:
 */
public class CreatDeviceAssignmentsDTO extends TokenDTO {
    /**
     * 设备id
     */
    private String deviceid	;
    /**
     * 站点id
     */
    @NotBlank(message = "siteid不能为空")
    private String siteid;
    /**
     *规格token
     */
    private String spectoken;
    /**
     *资产id
     */
    @NotBlank(message = "assetid不能为空")
    private String assetid;

    public String getSiteid() {
        return siteid;
    }

    public void setSiteid(String siteid) {
        this.siteid = siteid;
    }

    public String getDeviceid() {
        return deviceid;
    }

    public void setDeviceid(String deviceid) {
        this.deviceid = deviceid;
    }

    public String getSpectoken() {
        return spectoken;
    }

    public void setSpectoken(String spectoken) {
        this.spectoken = spectoken;
    }

    public String getAssetid() {
        return assetid;
    }

    public void setAssetid(String assetid) {
        this.assetid = assetid;
    }
}
